blktap2: only open driver stack once
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Nov 2009 19:40:48 +0000 (19:40 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 9 Nov 2009 19:40:48 +0000 (19:40 +0000)
commitab8fdd95a1f4a39fb70fb8b7c74405f56ef63773
treea0c52fc6b6b28cff6665b56bd923b1127c7981bc
parent8b0f1cdb963fe7702addb1c879ff5d1ffaa1a0b9
blktap2: only open driver stack once

Currently blktap2 opens a driver stack, closes it, and re-opens
it. This causes problems with our remus driver: the primary may
connect to the backup in between the first and second open.

This is a temporary fix.

Signed-off-by: Ryan O'Connor <rjo@cs.ubc.ca>
tools/blktap2/drivers/tapdisk-vbd.c